﻿namespace Espera.Core.Audio
{
    /// <summary>
    /// Represents the current playback state of an <see cref="AudioPlayer" /> object.
    /// </summary>
    public enum AudioPlayerState
    {
        /// <summary>
        /// The initial state of the <see cref="AudioPlayer" />.
        /// </summary>
        None = 0,

        Playing = 1,
        Paused = 2,

        /// <summary>
        /// The playback of the <see cref="AudioPlayer" /> was prematurely stopped and cannot be
        /// started again.
        /// </summary>
        Stopped = 3,

        /// <summary>
        /// The <see cref="AudioPlayer" /> has finished the playback and cannot be started again.
        /// </summary>
        Finished = 4
    }
}